Skip to content

Version Packages #1330

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Aug 8, 2025
Merged

Version Packages #1330

merged 1 commit into from
Aug 8, 2025

Conversation

github-actions[bot]
Copy link
Contributor

@github-actions github-actions bot commented Jul 11, 2025

This PR was opened by the Changesets release GitHub action. When you're ready to do a release, you can merge this and the packages will be published to npm automatically. If you're not ready to do a release yet, that's fine, whenever you add more changesets to main, this PR will be updated.

Releases

[email protected]

Patch Changes

  • #1326 99b5f50 Thanks @thejhh! - Fix TypeScript generation failure for operationIds starting with numbers

    What: Fixed an issue where operationIds starting with numbers (e.g., "123getUser") would cause TypeScript generation to fail due to invalid identifier names.

    Why: OperationIds that start with numbers are not valid JavaScript identifiers, causing syntax errors in the generated TypeScript code.

    How: Modified the template logic to quote property names for invalid identifiers. OperationIds starting with numbers are now generated as quoted properties (e.g., "123GetUser": ...) instead of unquoted invalid identifiers.

    This resolves GitHub issue OperationId starting with integers crashes generation #952.

  • #1008 c2d3e6a Thanks @frazar! - Fix handling of FormData inputs in Fetch HTTP client

    Previously, when users passed a FormData object directly to the Fetch
    client's multipart/form-data formatter, it would incorrectly attempt to use
    Object.keys() on the FormData instance, which returns an empty array. This
    caused the FormData to be processed incorrectly.

    The fix adds a type check to return FormData instances unchanged, allowing
    users to have full control over FormData construction when needed whilst
    maintaining backwards compatibility for object inputs. This aligns the Fetch
    client behaviour with the existing Axios client implementation.

    This resolves issues where users needed to send multipart requests with
    multiple entries for the same key, which is only possible with direct FormData
    manipulation.

@github-actions github-actions bot force-pushed the changeset-release/main branch 4 times, most recently from 16099ac to fb8f242 Compare July 19, 2025 19:45
@github-actions github-actions bot force-pushed the changeset-release/main branch 7 times, most recently from de77aea to c89681e Compare July 28, 2025 13:49
@github-actions github-actions bot force-pushed the changeset-release/main branch 8 times, most recently from f181b1b to e50989b Compare August 5, 2025 11:28
@github-actions github-actions bot force-pushed the changeset-release/main branch 2 times, most recently from eedfe5c to 9e95fa4 Compare August 8, 2025 11:17
@github-actions github-actions bot force-pushed the changeset-release/main branch from 9e95fa4 to 070d8b3 Compare August 8, 2025 11:40
@smorimoto smorimoto merged commit ba1405a into main Aug 8, 2025
3 checks passed
@smorimoto smorimoto deleted the changeset-release/main branch August 8, 2025 11:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant